<?php
	$referer = $_SERVER['HTTP_REFERER'];
	$referer  = parse_url($referer);
	if( $referer['host'] != $_SERVER['HTTP_HOST'] ){
		header("Content-type: text/html; charset=utf-8");
		die('只接受本站数据.请勿跨站提交数据. -_-');
	}
?>